﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    BuscarCita
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<h2>BuscarCita</h2>

    <link rel="stylesheet" href="http://code.jquery.com/ui/1.9.0/themes/base/jquery-ui.css" />
    <link rel="Stylesheet" type="text/css" media="screen" href="../../../Content/Cita.css" />
    <link rel="Stylesheet" type="text/css" media="screen" href="../../../Content/jquery.ui.timepicker.css" />
    <link rel="stylesheet" href="../../Content/jPages.css"> 

    <script src="../../Scripts/jPages.js"></script>
    <script src="../../Scripts/jquery.ui.timepicker.js" type="text/javascript"></script>
    <script src="../../Scripts/Cita.js" type="text/javascript"></script>

    <div id="busqueda">
        <%--<div id="page-wrap">   
            <div id="contact-area">--%>
                <br/>
                <label for="id_persona">id_persona</label>
                <input type="text" id="id_personaV" class="text ui-widget-content ui-corner-all" style="width:125px" onkeypress="return permite(event, 'num')" />
                <input type="text" id="id_persona" class="text ui-widget-content ui-corner-all" style="width:125px" onkeypress="return permite(event, 'num')" />
                <button id="buscarPersonaR">buscar</button>  
                <label class="errorLabel" id="Label1"></label>
                <br/><br/>
                <label for="FechaInicioB">Fecha Inicio</label>
                <input type="text" name="FechaInicioB" id="FechaInicioB" class="text ui-widget-content ui-corner-all" readonly="readonly" style="width:125px"/>
                <br/><br/>
                <label for="FechaFinB">Fecha Fin</label>
                <input type="text" name="FechaFinB" id="FechaFinB" size="20" class="text ui-widget-content ui-corner-all" readonly="readonly" style="width:125px"/>
                <br/><br/><br/>
                <input type="submit" id="botonBuscarB" value="Buscar" class="submit-button"  style="margin-left:auto; width:auto;"/>
                <input type="submit" id="botonCancelarB" value="Cancelar" class="submit-button"  style="margin-left:auto; width:auto;"/>
                <br/><br/><br/><br/>
                <input type="submit" id="botonExportarB" value="Exportar" class="submit-button"  style="margin-left:auto; width:auto;"/>
                <br/><br/>
        <%--    </div>
        </div>--%>

                <div id = "tablaDinamica"></div>
                <div style="border: 0px;" id="NavPosicion"></div>
               
               <%-- <div id= "botonesSeleccion">--%>

                <br/><br/><br/>
                <input type="submit" id = "botonModificarB" value="Modificar" class="submit-button"  style="margin-left:auto; width:auto;"/>
                <input type="submit" id = "botonEliminarB" value="Eliminar" class="submit-button" style="margin-left:5px; margin-right:auto; width:auto;"/>
    </div>
    


<div id="dialog-form" title="MODIFICAR CITA">
   <p class="validateTips">Por favor ingrese los campos que usted cree necesarios.</p>

   <fieldset>
        <label class="dialogoError">Los campos con (*) son obligatorios</label><br/><br/>
        <input type="text" name="name" id="id_citaB" style="visibility:hidden" class="text ui-widget-content ui-corner-all" /><br/><br/>
        <label for="email">Descripcion</label> 
        <input type="text" name="email" id="descripcionB" value="" class="text ui-widget-content ui-corner-all" /><br/><br/>
        <label for="name">id Persona</label>
        <input type="text" name="name" id="id_personaB" class="text ui-widget-content ui-corner-all" /><br/><br/>
        <label for="name">id Vendedor</label>
        <input type="text" name="name" id="id_vendedorB" class="text ui-widget-content ui-corner-all" /><br/><br/>
        <label for="name">Fecha</label>
        <input type="text" name="name" id="fechaB" class="text ui-widget-content ui-corner-all" /><br/><br/>
        <label for="name">Hora</label>
        <input type="text" name="name" id="horaB" class="text ui-widget-content ui-corner-all" /><br/><br/>
        <label for="name">Duracion</label>
        <input type="text" name="name" id="duracion_estimadaB" class="text ui-widget-content ui-corner-all" /><br/><br/>
   </fieldset>

</div>

    <div id="dialog-formRegPers" title="BUSCAR PERSONA">
       <p class="validateTips">Por favor ingrese los campos que usted cree necesarios.</p>

       <fieldset>
           <label for="name">Nombre :</label>
           <input type="text" name="name" id="nombre_persona" class="text ui-widget-content ui-corner-all" /><br/><br/>
           <label for="name">Apellido :</label>
           <input type="text" name="name" id="apellido_persona" class="text ui-widget-content ui-corner-all" /><br/><br/>

           <input type="submit" id="botonBuscarPersona" value="Buscar" class="submit-button" style="margin-left:350px; width:auto;"/>
           <input type="submit" id="botonCancelarPersona" value="Cancelar" class="submit-button" style="margin-left:5px; margin-right:auto; width:auto;"/>
       </fieldset>
       <div id="Div3" class="ui-widget" align="center">
            <div id = "tablaDinamicaPersona"></div>
            <div style="border: 0px;" id="NavPosicionBPers"></div>
       </div>
    </div>

</asp:Content>
